package com.club.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 活动签到记录实体类
 */
@Data
@TableName("activity_sign_in")
public class ActivitySignIn {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 签到时间
     */
    private LocalDateTime signInTime;

    /**
     * 签到方式
     */
    private String signInType;

    /**
     * 签到地点
     */
    private String location;

    /**
     * 代签人ID
     */
    private Long signInBy;
}